%_______________________________________________________________________________
%class
%_______________________________________________________________________________
\documentclass[a4paper,12pt,oneside,final,openbib,headsepline,pdftex]{scrbook}

%_______________________________________________________________________________
% page borders
%_______________________________________________________________________________
%\addtolength{\headheight}{2cm}
%\addtolength{\topmargin}{2cm}
\setlength{\oddsidemargin}{1.0cm}
\setlength{\evensidemargin}{0.5cm}
\setlength{\textwidth}{14.3cm}
\setlength{\parindent}{0mm}

% ----------------------------
%Kopf- und Fusszeilen
%\usepackage{scrpage2}
%\pagestyle{scrheadings}
%\ihead{\rightmark}
%\chead{}
%\ohead{\leftmark}
% \ifoot{untenlinks}
% \cfoot{untenmitte}
% \ofoot{untenrechts}

%_______________________________________________________________________________
% packages
%_______________________________________________________________________________
\usepackage{ngerman}							% Deutsche Rechtschreibung
\usepackage[latin1]{inputenc}			% Zeichenkodierung und Umlaute
\usepackage[T1]{fontenc}

\usepackage{amsmath, amssymb}			% Mathematik

\usepackage{graphicx}							% Geaphikunterschtützung
\usepackage{enumerate}

%\usepackage{array}
\usepackage{multirow}							% Tabellen
\usepackage{subfigure}

\usepackage{dsfont}
\usepackage{slashed}
\usepackage{textcomp}

\usepackage{color}								% Farben -> Verlinkungen
\definecolor{LinkColor}{rgb}{0,0,0.5}
\definecolor{ListingBackground}{rgb}{0.85,0.85,0.85}
\definecolor{CommentColor}{rgb}{0,0.6,0}
\definecolor{KeywordBlueColor}{rgb}{0,0,0.8}
\definecolor{GrayColor}{rgb}{0.4,0.4,0.4}
\definecolor{OrangeColor}{rgb}{1,0.54,0}

\usepackage{url}									% URL und Verlinkungen

\usepackage{listings}							% Sourcecode
\lstset{
				frame=tbrl, 
				numbers=left, 
				basicstyle=\ttfamily\small,
				numberstyle=\tiny,
				tabsize=3,
				%literate=%
    %{0}{{{\color{OrangeColor}0}}}1
    %{1}{{{\color{OrangeColor}1}}}1
    %{2}{{{\color{OrangeColor}2}}}1
    %{3}{{{\color{OrangeColor}3}}}1
    %{4}{{{\color{OrangeColor}4}}}1
    %{5}{{{\color{OrangeColor}5}}}1
    %{6}{{{\color{OrangeColor}6}}}1
    %{7}{{{\color{OrangeColor}7}}}1
    %{8}{{{\color{OrangeColor}8}}}1
    %{9}{{{\color{OrangeColor}9}}}1
}

\usepackage{courier}

%_______________________________________________________________________________
% PDF-Options
%_______________________________________________________________________________



\usepackage[
	pdftitle={Bachelorthese},
	pdfauthor={Gaby Tuma},
	pdfsubject={Bachelorthese im Bereich},
	% PDf-Dokumente indeziert
	pdfkeywords={},
	% Inhaltsverzeichnis anzeigen beim Öffnen
	pdfpagemode=UseOutlines,
	% Dokumententitel statt Dateiname Anzeigen
	pdfdisplaydoctitle=true,
	pdflang=de
]{hyperref}

% farbigen Links <keine Rahmen>
\hypersetup{
	colorlinks=true,
	linkcolor=LinkColor,
	citecolor=LinkColor,
	filecolor=LinkColor,
	menucolor=LinkColor,
	urlcolor=LinkColor,
	bookmarksnumbered=true		% Überschriftsnummerierung im PDF Inhalt anzeigen
}


%_______________________________________________________________________________
% bold fonts for headings
%_______________________________________________________________________________
\font\afont=cmssbx10 scaled \magstep5     % for the title
\font\bfont=cmssbx10 scaled \magstep4     % for chapter headings
\font\cfont=cmssbx10 scaled \magstep3
\font\dfont=cmssbx10 scaled \magstep2     % for section headings and author name
\font\efont=cmssbx10 scaled \magstephalf

%_______________________________________________________________________________
% index depth
%_______________________________________________________________________________
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

%_______________________________________________________________________________
% new commands
%_______________________________________________________________________________
\newcommand{\demi}{\frac{1}{2}}

%_______________________________________________________________________________
% renewed commands
%_______________________________________________________________________________
% \renewcommand{\topfraction}{1.}       % this is important for figure placement
% \renewcommand{\bottomfraction}{1.}
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\normalfont\normalsize\bfseries}
}
\makeatother

%_______________________________________________________________________________
% special words, hyphenation
%_______________________________________________________________________________
\newcommand{\datumBachelorthese}{05. Febraur 2014}
\hyphenation{Ba-che-lor-ar-beit}

\pagestyle{empty}
\pagestyle{headings}